<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>退款记录表列表</title>
<#include "/view/admin/headList.html"/>
    <script type="text/javascript">

        $(function() {
            //初始化
        });
    </script>
</head>
<body>



<div class="table-class">
    <div class="panel panel-default" style="margin: 10px 10px 10px;">
     <div class="panel-body">
        <form class="bs-example bs-example-form" role="form">

            <div class="input-group">
                <span class="input-group-addon">订单号</span>
                <input type="text" id="orderCode" class="form-control" value="${entity.orderCode!}" placeholder="请输入订单号">
            </div>
                <span class="bank-label">&nbsp;</span>



            <div class="input-group" style="text-align: right;">
                <a class="btn btn-info"  href="javascript:query('${base}/czjrefund/list.do')"><span class="glyphicon glyphicon-search"></span> 查找</a>

            </div>
        </form>
     </div>
    </div>


    <table class="table table-hover table-list table-bordered">
        <thead>
        <tr class="table-head">
            <th>序号</th>
                <th class="label-hidden">主键</th>
                <th>订单号</th>
                <th>用户手机号</th>
                <th>退款金额</th>
                <th>退款时间</th>
                <th>退款状态</th>

        </tr>
        </thead>
        <tbody>
        <#list pagination.list as c>
            <tr>
                <td>${(pagination.pageNo-1)*pagination.pageSize+1+c_index}</td>
                        <td class="label-hidden">${c.refundId!}</td>
                            <td>${c.orderCode!}</td>

                        <td> 
                            ${c.phone!}
                        </td>
                            <td>${c.refundAmount!}</td>

                        <td><#if c.updatetime?? >${c.updatetime?string('yyyy-MM-dd HH:mm:ss')}</#if></td>
                            <td>
                                <#if c.refundStatus??>
                                <#if 0==c.refundStatus><span class="label label-default">待退款</span></#if>
                                <#if 1==c.refundStatus><span class="label label-success">退款成功</span></#if>
                                <#if 2==c.refundStatus><span class="label label-danger">退款失败</span></#if>
                                </#if>
                            </td>



            </tr>








        </#list>
        </tbody>
    </table>


</div>
<script>

    function queryCondition(){
        var href="";
            href+='orderCode='+$('#orderCode').val();

        return href;
    }

</script>

</body>
</html>
